{include file="Index/header" /}
 
<body>
<div class="formbody">
<div class="formtitle"><span>专家列表</span></div> 
	<form action="{:url('Expert/index')}" method="post">
		<ul class="seachform">
			<li><label>姓名</label>
				<input name="names" type="text" class="scinput" value="{$names}"/>&nbsp;&nbsp; 
			</li>
			<li><label>&nbsp;</label>
				<input name="query" type="submit" class="scbtn" value="查询" />
			</li>
		</ul>
	</form>

	<table class="imgtable" >
		<thead>
			<tr>
				<th>编号</th>
				<th width="120px">照片</th>
				<th>姓名</th>
				<th>专长领域</th>
				<th>现任职位</th>
				<th>添加时间</th>  
				<th>操作</th> 
			</tr>
		</thead>
		<tbody>
		 	{volist name="listArr" id="vo" key="k" } 
			<tr>
				<td>{$vo.id}</td>
				<td><img src="__UPLOAD__{$vo.photo}" width="100px"></td>
				<td>{$vo.names}</td>
				<td>{$vo.field}</td>
				<td>{$vo.position}</td> 
				<td>{:date("Y-m-d ",$vo[on_time]);}</td> 
				<td>
					<a href="{:url('Expert/add', array('eid'=>$vo[id]))}" class="tablelink">编辑</a>
					<a href="{:url('Expert/delete', array('id'=>$vo[id]))}" class="tablelink">删除</a>
				
				</td>
			 
			</tr>
		 	{/volist}
		</tbody>
	</table>
	<div class="page">
					{$pages}
	</div>
 
</div>

{include file="Index/footer" /}